package com.baichang.taoshunda.entity;

import com.baichang.framework.annotation.jdbc.Id;
import com.baichang.framework.annotation.jdbc.Table;
import com.baichang.framework.entity.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author Dylan
 * @date 2018/12/14 0014 15:53
 * @company Dylan
 * @description
 */
@Table(name = "t_rebate_amount")
public class Rebate extends BaseEntity {
    private Integer id;
    /**
     * 订单号
     **/
    private String orderNumber;
    /**
     * 用户编号
     **/
    private Integer userId;
    /**
     * 卖家id
     **/
    private Integer companyId;

    /**
     * 是否爆发
     **/
    private Integer status;
    /**
     * 类型
     **/
    private Integer type;
    /**
     * 创建时间
     **/
    private Date created;

    @Id
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 创建时间
     */


    private BigDecimal rebateAmount;

    public String getOrderNumber() {
        return orderNumber;
    }

    public void setOrderNumber(String orderNumber) {
        this.orderNumber = orderNumber;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Integer companyId) {
        this.companyId = companyId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Date getCreated() {
        return created;
    }

    public void setCreated(Date created) {
        this.created = created;
    }

    public BigDecimal getRebateAmount() {
        return rebateAmount;
    }

    public void setRebateAmount(BigDecimal rebateAmount) {
        this.rebateAmount = rebateAmount;
    }
}
